package cn.com.wanywhn.factory;

import cn.com.wanywhn.dao.CriticismDAO;
import cn.com.wanywhn.daoImpl.CriticismDAOImpl;

public class CriticismDAOFactory {
    public static CriticismDAO getCriticismDAOInstance() {    //工厂方法，用来返回DAO实现类实例
        return new CriticismDAOImpl();                        //返回DAO实现类实例
    }
}
